/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author cuilifeng
 */
public interface NeuralNetwork {
    double predict(double input[]);       //给定神经网络输入，预测神经网络输出
    double calculateLoss(double inputs[][], double targets[]);      //计算均方差
    double[] getParameters();           //获取参数：权重和偏置
    void setParameters(double parameters[]);   //设置参数
}